home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 940 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.6 KB

  1. Path: tank.news.pipex.net!pipex!demon!vecnet
  2. From: gspencer@vecnet.demon.co.uk (Gary K. Spencer)
  3. Newsgroups: comp.lang.c++
  4. Subject: Problem building static library with VC4
  5. Date: Mon, 08 Jan 1996 15:58:31 GMT
  6. Organization: Vector Networks Limited
  7. Message-ID: <821116711.9261@vecnet.demon.co.uk>
  8. NNTP-Posting-Host: vecnet.demon.co.uk
  9. X-NNTP-Posting-Host: vecnet.demon.co.uk
  10. X-Newsreader: News Xpress Version 1.0 Beta #4
  11.  
  12. I have been trying to convert some of my projects over from VC++ 2.2 to the 
  13. new VC++ 4.0, and have had the following strange problem when setting up a 
  14. project that builds a static library.
  15.  
  16. One of the libraries I am trying to build has about 100+ modules. When doing a 
  17. 'Build' or 'Rebuild All' I noticed that alot of files were being produced in 
  18. the WINDOWS\TEMP area ( 4 files per module being compiled), but no .OBJ files 
  19. were ending up in the DEBUG directory of the project.
  20.  
  21. I have just done another test where I created a static library project with 
  22. one module. The 'Build' was successful, a .OBJ file was created in the DEBUG 
  23. directory of the project. I added another 5 modules to the project, did a 
  24. 'Build'. The .OBJ files arrived in the DEBUG directory as each module was 
  25. compiled. I added another 10 modules to the project, 'Build' again and no .OBJ 
  26. files appear in the DEBUG directory, but the compilers temporary files are 
  27. left in the WINDOWS\TEMP area.
  28.  
  29. I have tried creating new projects and converting existing VC 2.2 projects 
  30. that build static libraries without any success.
  31.  
  32. Any ideas ? Anyone successfully compiling a static library under VC++ 4.0 ?.
  33.  
  34. Thanks
  35.  
  36. Gary K. Spencer
  37. Senior Software Engineer
  38. Vector Networks Limited
  39.